package thread;

public class Demo {
    private int age;
    private boolean dead;
    public boolean isDead(){
        return dead;
    }
    public void setDead(boolean dead){
        this.dead=dead;
    }
    public int getAge(){
        return age;
    }
    public void setAge(int age){
        this.age=age;
    }
}
